﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace nRoute.Samples.SiteMapWeb.Model
{
	public class ApplicationSiteMapNode
	{
		[Key]
		[ScaffoldColumn(false)]
		public int Id { get; set; }

		public string Key { get; set; }

		public string Title { get; set; }

		public string Description { get; set; }

		public string Url { get; set; }

		public string HandlerName { get; set; }

		public string IconPath { get; set; }

		public int ListOrder { get; set; }

		public bool IsListed { get; set; }

		public virtual ApplicationSiteMapArea SiteMapArea { get; set; }

		public virtual ICollection<ApplicationSiteMapNode> ChildNodes { get; set; }
	}
}